<template>

    <div class="wallet-recent-via">
        <h2>Add funds to POD Wallet</h2>
        <ul>
            <li>
                <figure><img src="@/assets/images/billing/wallet-step-01.png" alt=""></figure>
                <strong>Step 1</strong>
                <p>Complete a bank transfer</p>
            </li>
            <li>
                <figure><img src="@/assets/images/billing/wallet-step-02.png" alt=""></figure>
                <strong>Step 2</strong>
                <p>Enter transfer details</p>
            </li>
            <li>
                <figure><img src="@/assets/images/billing/wallet-step-03.png" alt=""></figure>
                <strong>Step 3</strong>
                <p>Balance updated</p>
            </li>
            <li>
                <figure><img src="@/assets/images/billing/wallet-step-04.png" alt=""></figure>
                <strong>Step 4</strong>
                <p>Completed</p>
            </li>
        </ul>
        <button v-if="config.wallet_apply_state == 0" @click="$emit('open')">Activate wallet</button>
    </div>
</template>
<script>
export default {
    props: {
        config: { type: Object, default: () => ({}) },
    },
    data () {
        return {
        };
    },
    computed: {

    },
    methods: {

    },
};
</script>
<style lang="scss" scoped>
.wallet-recent-via {
    margin: 76px 0 0;
    position: relative;
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #EBEBEB;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 48px;

    h2 {
        position: absolute;
        left: 0;
        top: -36px;
        font-family: Roboto-Medium, Roboto;
        font-weight: 500;
        font-size: 18px;
        color: #212121;
        line-height: 18px;
    }

    ul {
        display: flex;
        margin-top: 48px;
        padding: 0 5px;
        width: 100%;
        box-sizing: border-box;

        li {
            width: calc(25% - 50px);
            margin: 0 25px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        figure {
            background: #F5F5F5;
            width: 160px;
            height: 160px;
            position: relative;

            img {
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
            }

            &::before {
                content: '';
                display: block;
                padding-bottom: 100%;
            }
        }

        strong {
            margin-top: 16px;
            font-family: Roboto-Medium, Roboto;
            font-weight: 500;
            font-size: 14px;
            color: #555555;
            line-height: 22px;
        }

        p {
            margin-top: 8px;
            font-family: Roboto-Medium, Roboto;
            font-weight: 500;
            font-size: 16px;
            color: #292929;
            line-height: 22px;
            white-space: nowrap;

        }
    }

    &>button {
        margin-top: 48px;
        width: 200px;
        height: 40px;
        background: linear-gradient(315deg, #FF813F 0%, #EA4C89 100%);
        border-radius: 10px;
        color: #fff;
        border: none;

        &:hover {
            color: hsla(0, 0%, 100%, .5);
        }
    }

}
</style>
